home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 62
/
Volume 62 - JOGO DISK .iso
/
Games
/
NinjaKid.swf
/
scripts
/
DefineSprite_271_mon2
/
frame_3
/
DoAction.as
Wrap
Text File
|
2008-02-29
|
387b
|
20 lines
function fn_HitTest()
{
if(_root.nFlag_Dead == false)
{
if(mc_attack.hitTest(_root.mc_c1))
{
if(_root.nFlag_Attack == false)
{
_root.fn_CDamage();
}
}
}
else
{
clearInterval(this["interval_hit" + this._name]);
}
}
stop();
this["interval_hit" + this._name] = setInterval(fn_HitTest,700);